﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Values
{
    /// <summary>
    /// App 安全信息
    /// </summary>
    public class AppSecurityInfo
    {
        /// <summary>
        /// 实例化 AppSecurityInfo 类新实例
        /// </summary>
        /// <param name="privateKey"></param>
        /// <param name="publicKey"></param>
        /// <param name="signKey"></param>
        /// <param name="appKey"></param>
        public AppSecurityInfo(string privateKey, string publicKey, string signKey, string appKey)
        {
            this.PrivateKey = privateKey;
            this.PublicKey = publicKey;
            this.SignKey = signKey;
            this.AppKey = appKey;
        }

        /// <summary>
        /// 获取私钥
        /// </summary>
        public string PrivateKey { get; private set; }

        /// <summary>
        /// 获取公钥
        /// </summary>
        public string PublicKey { get; private set; }

        /// <summary>
        /// 获取签名Key
        /// </summary>
        /// <returns></returns>
        public string SignKey { get; private set; }

        /// <summary>
        /// App Key
        /// </summary>
        public string AppKey { get; private set; }
    }
}
